﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NewsA.aspx.cs" Inherits="Article" %>

<%@ Register Src="Controls/ucHeader.ascx" TagName="ucHeader" TagPrefix="uc1" %>
<%@ Register Src="Controls/ucFooter.ascx" TagName="ucFooter" TagPrefix="uc2" %>
<%@ Register Src="Controls/ucCenters.ascx" TagName="ucCenters" TagPrefix="uc2" %>
<%@ Register Src="Controls/ucConnectUs.ascx" TagName="ucConnection" TagPrefix="uc3" %>
<%@ Register Src="Controls/ucReferences.ascx" TagName="ucRef" TagPrefix="uc3" %>
<%@ Register TagPrefix="url" Namespace="Intelligencia.UrlRewriter" 
Assembly="Intelligencia.UrlRewriter" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="ru" />
    <%--<%=SetHeader%>--%>
    <meta name="author" content="ArtCube" />
    <meta name="Admin-URL" content="www.artcube.co.il" />
    <meta name="copyright" content="Medserver" />
    <meta name="revisit" content="1 days" />
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/custom2.js"></script>

</head>
<body>
    <url:form id="form1" runat="server">
    <div class="b1">
        <div class="maindiv">
            <uc1:ucHeader ID="ucHeader1" runat="server" />
            <div runat="server" id="divTitle">
                    <%=sTitleString%>
                    
            </div>
        <div class="newsmaincontent">
            <div class="left">
                <!--Sviaz s nami-->
                <uc3:ucConnection runat="server" ID="ConnectUs" />
                <!--Spravichnik-->
                <uc3:ucRef runat="server" ID="ucReferences" />
                <!--Medical centers-->
                <uc2:ucCenters ID="ucCenters1" runat="server" />
            </div>
            <div class="right2">
                <div class="titlelink" runat="server" id="divTitleLink">
                </div>
                <h1 style="font-size:26px;">
                    <%=article.articleName%></h1>
                <asp:Panel CssClass="dateprint" runat="server" ID="divDate">
                    Дата публикации:<%=article.articleAddDate.ToString("dd/MM/yyyy HH:mm")%>
                </asp:Panel>
                <div class="newsblok">
                    <div style="text-align:center;"><img src='<%=article.sImage%>' alt='<%=article.articleName%>'/></div>
                    <p style="margin-top:14px;"><%=article.articleContext%></p>
                    <div class="likethis" runat="server" id="divTags">
                        Похожие статьи:
                        <asp:DataList runat="server" RepeatDirection="Horizontal" CellSpacing="12" ID="rptTags">
                            <ItemTemplate>
                                <asp:HyperLink ID="lnk1" runat="server" Text='<%# Eval("KeyName")%>' NavigateUrl='<%# Eval("KeyName","Search.aspx?t={0}") %>'></asp:HyperLink>
                                <asp:Label ID="Label2" runat="server" Text="  "></asp:Label>
                            </ItemTemplate>
                        </asp:DataList>
                    </div>
                </div>
                <h2 runat="server" id="lblMoreNews" visible="false">
                    <%=sMoreNewsTitle %></h2>
                <asp:DataList runat="server" ID="gvNews">
                    <ItemTemplate>
                        <div class="newsitem">
                            <div class="newsitem2">
                            <a href='<%# Eval("cPageName")%>-a.aspx'>
                                <img src='picture_library/<%# (Eval("img170x148").ToString().Length==0)?"170x148.jpg":Eval("img170x148")%>' alt="Еще новости"
                                    style="padding-top: 2px;border:0px; margin-left: 1px;" />
                                    </a>
                            </div>
                            <div class="newsitem3">
                                <a href='<%# Eval("cPageName")%>-a.aspx'>
                                    <h3><%# Eval("Title")%></h3></a><br />
                                <p class="newsitem3">
                                    <%# Eval("SubTitle")%>
                                </p>
                                <div class="newsbut">
                                    <a href='<%# Eval("cPageName")%>-a.aspx'>Подробнее</a>
                                </div>
                            </div>
                            <div class="line1">
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </div>
            </div>
    </div>
    <uc2:ucFooter runat="server" ID="ucFooter" />
    </div>
    </url:form>
</body>
</html>
